﻿<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage/MasterPage.master" AutoEventWireup="false"
    CodeFile="ZapHeslo.aspx.vb" Inherits="Pages_ZapHeslo" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Hlavni" runat="Server">
    <h1>
        <asp:Localize ID="Localize1" runat="server" Text='<%$ Resources: title %>'></asp:Localize></h1>
    <br />
    <asp:SqlDataSource ID="DS_Zakaznik" runat="server" ConnectionString="<%$ ConnectionStrings:DataHorejsi %>"
        SelectCommand="SELECT [Heslo], [Uzivatel], [ID_zakaznik], [Mail] FROM [T_Zakaznik] WHERE ([Uzivatel] = @Uzivatel)">
        <SelectParameters>
            <asp:ControlParameter ControlID="TXB_uzivatel" Name="Uzivatel" PropertyName="Text"
                Type="String" />
        </SelectParameters>
    </asp:SqlDataSource>
    <span>
        <asp:Localize ID="Localize2" runat="server" Text='<%$ Resources: description %>'></asp:Localize></span>
    <div style="text-align: center">
        
            <br />
            <span>
                <asp:Localize ID="Localize3" runat="server" Text='<%$ Resources: userTitle %>'></asp:Localize></span>
            <asp:TextBox ID="TXB_uzivatel" runat="server"></asp:TextBox>&nbsp;
            <asp:RequiredFieldValidator ID="RFV_uzivatel" runat="server" ControlToValidate="TXB_uzivatel"
                Display="None" ErrorMessage="<%$ Resources: VAL1%>" ValidationGroup="zapHes"></asp:RequiredFieldValidator>
            <cc1:ValidatorCalloutExtender ID="val_heslo_ValidatorCalloutExtender" runat="server"
                Enabled="True" TargetControlID="RFV_uzivatel">
            </cc1:ValidatorCalloutExtender>
            &nbsp;<asp:Button ID="BTB_odeslat" runat="server" CssClass="button" Text='<%$Resources: BTN_odeslat.Text %>'
                ValidationGroup="zapHes" /><br />
 
    </div>
</asp:Content>
